<template>
  <div id="app">
    <el-container>
      <el-header>
        <img alt="Vue logo" src="./assets/xuexiaologo.png">
        <h3>吕梁学院 薪资 预测系统</h3>
      </el-header>
      <el-container>
        <el-aside width="200px">

          <el-row class="tac">
            <el-col :span="24">
              <h5>菜单选项</h5>
              <el-menu
                  default-active="2"
                  class="el-menu-vertical-demo"

                  >
                <el-submenu index="1">
                  <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>查看岗位信息</span>
                  </template>
                  <el-menu-item-group>
                    <el-menu-item index="1-1">

                      <router-link to="/jiqixuexi"> 机器学习</router-link>

                    </el-menu-item>
                    <el-menu-item index="1-2">
                      <router-link to="/AI"> 人工智能</router-link>

                    </el-menu-item>
                    <el-menu-item index="1-3"> 软件开发 </el-menu-item>
                  </el-menu-item-group>
                </el-submenu>

                <el-submenu index="2">
                  <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>查看图表信息</span>
                  </template>
                  <el-menu-item-group>
                    <el-menu-item index="2-1">
                      <router-link to="/jiqiecharts"> 机器学习 </router-link>

                    </el-menu-item>
                    <el-menu-item index="2-2"> 人工智能  </el-menu-item>
                    <el-menu-item index="2-3"> 软件开发 </el-menu-item>
                  </el-menu-item-group>
                </el-submenu>


                 <el-submenu index="3">
                  <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>预测岗位薪资</span>
                  </template>
                  <el-menu-item-group>
                    <el-menu-item index="2-1">
                      <router-link to="/jiqixuexiform"> 机器学习</router-link>


                    </el-menu-item>
                    <el-menu-item index="2-2"> 人工智能  </el-menu-item>
                    <el-menu-item index="2-3"> 软件开发 </el-menu-item>
                  </el-menu-item-group>
                </el-submenu>

              </el-menu>
            </el-col>
          </el-row>


        </el-aside>

        <el-main>

  <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>

  </div>
</template>

<style>
body {
  padding: 0;
  margin: 0;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

.el-header {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  height: 20vh !important;
  display: flex;
}

h3 {
  margin-top: 40px;
  font-size: 40px;
  color: #999;
}


img {
  width: 300px;
  height: 90px;
  margin-top: 20px;
  margin-right: 50px;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  height: 80vh;
  width: 20vw !important;
}

.el-main {
  background-color: #fff;
  color: #333;
  text-align: center;
  height: 80vh
}
</style>

<script>

</script>
